<?php
	$pagetitle = $getSetting['name'];
	if(isset($_GET['act']))
	{
		$action = $_GET['act'];
	}
	if(isset($_GET['id']))
	{
		$id = $_GET['id'];
	}
	if(isset($_GET['mod']))
	{
		$mod = $_GET['mod'];
	}
	if($mod == "product" && !$id)
	{
		$pagetitle = "Sản phẩm";
	}
	elseif($mod == "product" && $action = "detail")
	{
		$pagetitle = _GetProductName($id);
	}
	if($mod == "news" && !$id)
	{
		$pagetitle = "Tin tức";
	}
	elseif($mod == "news" && $action = "ndetail")
	{
		$pagetitle = _GetNewsTitle($id);
	}
	
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="shortcut icon" href="http://www.iconarchive.com/download/i59654/graphics-vibe/spring-social/skype.ico">
    <meta name="description" content="Giới thiệu nhà hàng - Đồ án NMCNPM">
    <title><?php echo $pagetitle; ?></title>
    <link href="http://www.iconarchive.com/download/i59654/graphics-vibe/spring-social/skype.ico" rel="shortcut icon" type="image/x-icon">
    <link rel="stylesheet" href="css/cssmain.css" type="text/css" media="screen">
    <link rel="stylesheet" href="css/zentools.css" type="text/css">
    <link rel="stylesheet" href="css/flexslider.css" type="text/css">
    <link rel="stylesheet" href="css/flexslider.css" type="text/css">
	<style type="text/css">
        <!--
        a#zenpanelopen,a#zenpanelclose2
        {
            background:url(images/ribbon/ribbonLightBlue.png) no-repeat;
        }
        body {
            font-size: 75%
        } 
        .container {
            width: 960px;
        } 
        #tagline span{
            top: -10px;left:0;
            background:none
        }
        -->
    </style>
	<script src="js/webfont.js" type="text/javascript" async=""></script>
	<script src="js/jsmotool.js" type="text/javascript" ></script>
	<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
	<link href='http://fonts.googleapis.com/css?family=Droid+Sans|EB+Garamond&subset=vietnamese,latin' rel='stylesheet' type='text/css'>
</head>